﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Detalle.aspx.cs" Inherits="home_Detalle" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="obout_Grid_NET" Namespace="Obout.Grid" TagPrefix="cc1" %>
<%@ Register TagPrefix="cc1" Namespace="Obout.Interface" Assembly="obout_Interface" %>
<%@ Register TagPrefix="oem" Namespace="OboutInc.EasyMenu_Pro" Assembly="obout_EasyMenu_Pro" %>
<%@ Register TagPrefix="obout" Namespace="OboutInc.Flyout2" Assembly="obout_Flyout2_NET"%>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../styleHome/styles.css" rel="stylesheet" type="text/css" />
    <link href="css/axesat.css" rel="stylesheet" type="text/css">    
    <link href="../js/shadowbox/shadowbox.css" rel="stylesheet" type="text/css" />        
    <script src="../js/shadowbox/shadowbox.js" type="text/javascript"></script>        
    <script src="../js/Axesat.js" type="text/javascript"></script>
    
    
    <script type="text/javascript">
//        function volver() {
//            window.parent.location = 'http://www.conexsat.net.co/InicioClientes.aspx';
//        }

        function asignarColumnaSeleccionada(nombreColumna) {            
            document.getElementById('hdnColumnaSeleccionada').value = nombreColumna;
        }

        function CursorMano(contenedor) {
            contenedor.style.cursor='hand';
            contenedor.style.cursor='pointer';
        }

        function stopRKey(evt) {
            var evt = (evt) ? evt : ((event) ? event : null);
            var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
            if ((evt.keyCode == 13) && (node.type == "text")) { return false; }
  
        } 
        function keyPressed(e) {
            var unicode = e.keyCode ? e.keyCode : e.charCode
            document.onkeypress = stopRKey; 
            if (unicode == 13) {                
                var boton = document.getElementById('<%=btnBuscarGrilla.ClientID%>');                
                boton.click();                
            }
            
        }

    </script>    

    <style type="text/css">
    /*http://csharpdotnetfreak.blogspot.com/2009/07/scrollable-gridview-fixed-headers-asp.html*/
    .header
      {        
      	background:url(../imagesHome/barra.jpg) no-repeat;
        position:absolute;
        width:950px; 
        height:40px;
      }    
        
    </style>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:HiddenField ID="hdnNit" runat="server" Value="0" />
    <asp:HiddenField ID="hdnColumnaSeleccionada" runat="server" />
    <asp:HiddenField ID="hdnBusq" runat="server" />
    <asp:HiddenField ID="hdnValor" runat="server" />    
    <asp:HiddenField ID="hdnAncho" runat="server" />    
    
<div class="container">
<p class="reporte"><asp:Label ID="lblTitulo" runat="server" Text=""></asp:Label></p>
<p class="texto"><asp:Label ID="lblPeriodo" runat="server" Text=""></asp:Label></p>
<p class="texto2"><asp:Label ID="lblTexto" runat="server" Text=""></asp:Label></p>


<div id="btn_descarga">
<a href="javascript:history.back(1)"><img id="img1" alt="Volver" src="../images/back.jpg" style="cursor:pointer;" border="0" /></a>
<br />
    <asp:ImageButton ID="btnExportar" runat="server" ImageUrl="../images/btn_descargal.jpg" 
    onclick="btnExportar_Click" />
                </div>
<br />
<br />
<br />
<br />
<br />
<br />
    
<asp:Panel ID="Panel1" runat="server" Height="325px" 
                       Width="924px" ScrollBars="Vertical">

        <asp:GridView ID="grd" runat="server" 
            AutoGenerateColumns="True" BorderStyle="None" BorderWidth="0px"             
            Width="930" CellPadding="3" CellSpacing="3" RowStyle-VerticalAlign="Bottom"
        onrowdatabound="grd_RowDataBound">            
            <HeaderStyle CssClass="header" />
            <RowStyle CssClass="tds" />
            <AlternatingRowStyle BackColor="#ececec" />
        </asp:GridView>       
</asp:Panel>
  <div class="barra_inf"></div>
</div>
    
    
    </div>
    
<obout:Flyout runat="server" ID="Flyout1" OpenEvent="NONE" CloseEvent="NONE" Position="BOTTOM_CENTER">
<div id="menu2">
<img src="../images/close.jpg" border="0" alt="Cerrar filtros" onclick="<%=Flyout1.getClientID()%>.Close();" style="float:right" />
<asp:LinkButton ID="lnkAscendente" runat="server" onclick="lnkAscendente_Click">Ordenar A - Z</asp:LinkButton><br />
<asp:LinkButton ID="lnkDescendente" runat="server" onclick="lnkDescendente_Click">Ordenar Z - A</asp:LinkButton><br /><br />
<hr/>
<div style="margin:4px 0 0 0; padding:0; float:left; width:140px">
  <a>Contiene</a></div>
  <div style="margin:4px 0 0 0; padding:0; float:left; width:140px">
  <asp:TextBox ID="txtContiene" runat="server" Width="90px" onkeyup="keyPressed(event);"></asp:TextBox>&nbsp;<asp:ImageButton ID="btnBuscarGrilla" runat="server" ImageUrl="../images/view.gif" onclick="btnBuscarGrilla_Click" />
                </div>
  <div style="margin:4px 0 0 0; padding:0; float:left; width:140px">
  </div>
   <br /><br /> 
</div>
    
</obout:Flyout>			
    
    
    </form>
</body>
</html>
